package com.linked.mystyle.news.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linked.mystyle.news.bean.param.NewsPageParam;
import com.linked.mystyle.news.bean.po.NewsInfoPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author :dbq
 * @date : 2022/10/28 15:26
 */
@Mapper
public interface INewsInfoMapper extends BaseMapper<NewsInfoPO> {
    IPage<NewsInfoPO> queryNewsPage(@Param("param") NewsPageParam param);

    int doLikes(@Param("newsId") String newsId);
}
